Skip to content

feat(gesture): smoother gesture trail fade, taper and curves - #929

Merged
LeanBitLab merged 1 commit into
mainfrom
feat/smoother-gesture-trail
Nov 25, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
feat/smoother-gesture-trail

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner
  • Fade uses a smooth step (soft start and end) instead of a straight line that ended abruptly.
  • Width taper: the head keeps its width a moment longer and the tail thins out gently, same start and end widths.
  • Finer curve segments: angular threshold 15 to 10 degrees, distance threshold 16 to 12 dp, max segments 6 to 8.
  • Hardening: a lifespan of 0 or negative times no longer divide by zero, alpha and width are clamped.
  • Tests: GestureTrailCurveTest (5 cases, pure curve functions). Checked on device.

@LeanBitLab
LeanBitLab merged commit 7dee85a into main Nov 25, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the feat/smoother-gesture-trail branch November 25, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant